package org.example;

import cn.hserver.core.ioc.IocUtil;
import cn.hserver.core.ioc.annotation.Bean;
import cn.hserver.core.ioc.annotation.Configuration;
import cn.hserver.plugin.cloud.RegProp;

@Configuration
public class RegConfig {

    @Bean
    public RegProp regProp(){
        RegProp regProp = IocUtil.getBean(RegProp.class);
        regProp.setRegisterAddress("http://192.168.1.15:8848");
        regProp.setRegisterName("web");
        regProp.setRegisterMyIp("127.0.0.1");
        regProp.setRegisterMyPort(8881);
        regProp.setGroupName("WEB");
        return regProp;
    }


}
